package com.bird.设计原则.迪米特原则;

import java.util.ArrayList;
import java.util.List;

/**
 * @data 2022/1/9 12:00
 * @author: bird
 * @description:
 */
public class TeamLeader {

    public void checkCourseNumber() {
        List<Course> courseList = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            courseList.add(new Course());
        }
        System.out.println("课程的数量：" + courseList.size());
    }
}
